#pragma once

#include <QWidget>
#include "ui_Widgets_Test.h"

#include "HikVmEvent.h"
#include "VM_made.h"
#include "VmMvd.h"
#include "IVmSolution.h"
#include "IVmProcedure.h"
#include "VMException.h"
#include "VmControlBaseInfo.h"

using namespace VisionMasterSDK;
using namespace VisionMasterSDK::VmSolution;
using namespace VisionMasterSDK::VmProcedure;

class Widgets_Test : public QWidget
{
	Q_OBJECT

public:
	Widgets_Test(QWidget *parent = nullptr);
	~Widgets_Test();
	void SetBuildmodeImg(QImage);
	void SetDtangle(const char*, float);
	void GetProImage(const char*, const char*, const char*, QImage*);
	void GetDtangle(const char*, const char*, const char*, const char*, float*,QImage*);

public slots:
	void pushButton_clicked();
	void SlotTest(QPointF, QPointF);

private:
	Ui::Widgets_TestClass ui;
	IVmSolution * pVmSol = nullptr;
	IVmProcedure* pVmPro = nullptr;
	GlobalVariableModuleTool* g_pGlobalVarTool;
	GlobalCameraModuleTool * g_pGlobalCamera;
	QImage g_qImg;
};
